package com.TwinBlade.PicturePassword;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.TextView;

public class Tasker extends Activity
  implements View.OnClickListener
{
  private boolean a = false;
  private boolean b;
  private Button c;
  private Button d;
  private RadioButton e;
  private RadioButton f;

  public void finish()
  {
    if (!this.a)
    {
      setResult(0);
      super.finish();
      return;
    }
    Intent localIntent = new Intent();
    Bundle localBundle = new Bundle();
    localBundle.putBoolean("com.TwinBlade.PicturePassword.Tasker.START_SERVICE", this.b);
    localIntent.putExtra("com.twofortyfouram.locale.intent.extra.BUNDLE", localBundle);
    if (this.b);
    for (String str = "Start Service"; ; str = "Stop Service")
    {
      localIntent.putExtra("com.twofortyfouram.locale.intent.extra.BLURB", str);
      setResult(-1, localIntent);
      break;
    }
  }

  public void onClick(View paramView)
  {
    switch (paramView.getId())
    {
    default:
      return;
    case 2131230724:
      finish();
      return;
    case 2131230725:
      this.a = false;
      finish();
      return;
    case 2131230780:
      this.a = true;
      this.b = true;
      this.f.setChecked(false);
      return;
    case 2131230781:
    }
    this.a = true;
    this.b = false;
    this.e.setChecked(false);
  }

  public void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    if (bd.a(this))
    {
      setContentView(2130903051);
      this.c = ((Button)findViewById(2131230724));
      this.d = ((Button)findViewById(2131230725));
      this.e = ((RadioButton)findViewById(2131230780));
      this.f = ((RadioButton)findViewById(2131230781));
      this.c.setOnClickListener(this);
      this.d.setOnClickListener(this);
      this.e.setOnClickListener(this);
      this.f.setOnClickListener(this);
      return;
    }
    LinearLayout localLinearLayout = new LinearLayout(this);
    localLinearLayout.setGravity(17);
    TextView localTextView = new TextView(this);
    localTextView.setText("Please Unlock Feature With Plus Key");
    localLinearLayout.addView(localTextView);
    setContentView(localLinearLayout);
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.TwinBlade.PicturePassword.Tasker
 * JD-Core Version:    0.6.2
 */